package com.example.learnquartz.quartz.job;

import com.example.learnquartz.quartz.SchedulerManager;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

public class MyJob implements Job {

    @Autowired
    private SchedulerManager schedulerManager;

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("test job");
    }
}
